package refactoring_guru.bridge.example2;

// FoldedPhone.java/UprightPhone.java
// 折叠式手机，继承了抽象类 Phone
public class FoldedPhone extends Phone {
	//构造器一定要有：把brand传入
	public FoldedPhone(Brand brand) {
		super(brand);
	}
	
	public void open() {
		super.open();
		System.out.println("折叠样式手机");
	}	
	public void close() {
		super.close();
		System.out.println("折叠样式手机");
	}
	public void call() {
		super.call();
		System.out.println("折叠样式手机");
	}
}
